package com.yurun.orgstudentmodule.service;

import com.tendcent.face.sdk.client.dto.FaceDto;
import com.tendcent.face.sdk.client.dto.HostInfoDto;
import com.tendcent.face.sdk.client.dto.PersonDto;
import com.tendcent.face.sdk.client.dto.PersonPasstimeDto;
import com.yurun.commonapi.api.CommonResult;
import com.yurun.commonapi.pojo.Device;
import com.yurun.commonapi.pojo.Sign;
import com.yurun.commonapi.vo.DeviceListVO;
import com.yurun.commonapi.vo.PersonVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigInteger;
import java.util.HashMap;

public interface FaceService {

    CommonResult addUser(HostInfoDto hostInfo, String deviceKey, String secret, PersonDto personDto);

    CommonResult delUser(HostInfoDto hostInfo, String deviceKey, String secret, String personId);

    CommonResult addUserFace(HostInfoDto hostInfo, String deviceKey, String secret, FaceDto faceDto);

    CommonResult delUserFace(HostInfoDto hostInfo, String deviceKey, String secret, String faceId);

    CommonResult addPersonPassTime(HostInfoDto hostInfo, String deviceKey, String secret, PersonPasstimeDto personPasstimeDto);

    CommonResult delPersonPassTime(HostInfoDto hostInfo, String deviceKey, String secret, String personId);

    CommonResult setIdentifyCallback(PersonVO personVO);

    String sign(PersonVO personVO);

    CommonResult addSign(Sign sign);

    CommonResult addPerson(PersonVO personVO);

    CommonResult addDevice(PersonVO personVO);

    CommonResult getDeviceList(DeviceListVO deviceListVO);

    CommonResult deleteDevice(Device device);

    CommonResult updateDevice(Device device);

    CommonResult getNoImport(BigInteger organizationId, BigInteger branchId, int pageNum, int pageSize);

    CommonResult addMorePerson(BigInteger organizationId, BigInteger branchId);

    CommonResult importStuInfo(BigInteger organizationId, BigInteger branchId);
}
